package com.baomidou.springboot;

import com.baomidou.mybatisplus.extension.api.IErrorCode;

public enum ErrorCode implements IErrorCode
{
    TEST("1000", "测试错误编码");
    
    private String code;
    
    private String msg;
    
    ErrorCode(final String code, final String msg)
    {
        this.code = code;
        this.msg = msg;
    }
    
    @Override
    public String getCode()
    {
        return code;
    }
    
    @Override
    public String getMsg()
    {
        return msg;
    }
}
